package com.zhouheng.springbootdesignpattern.singletonpattern;

/**
 * 枚举单例
 */
public enum EnumSingleton {

    INSTANCE;

    public void whateverMethod() {
        System.out.println("hello world!");
    }

}
